﻿using Chloe.Annotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyData.Models
{
    [TableAttribute("Visitor")]
    public class Visitor : EntityBase
    {
        [StringLength(50)]
        public string Company { get; set; }
        [StringLength(15)]
        public string Name { get; set; }
        [StringLength(150)]
        public string HeadUrl { get; set; }
        [StringLength(15)]
        public string PhoneNum { get; set; }
        public Guid DepartId { get; set; }
        [StringLength(15)]
        public string DepartName { get; set; }
        [StringLength(15)]
        public string OwnerName { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        /// <summary>
        /// 默认0 下发1  删除2
        /// </summary>
        public int IsDelete { get; set; }
        [StringLength(200)]
        public string Remark { get; set; }

        /// <summary>
        /// 申请后为1  审核后为0
        /// </summary>
        public int NeedConfirm { get; set; }
    }
}
